package dbobjects;

import dbreflection.tablemanagement.DatabaseObject;
import dbreflection.tablemanagement.DOTable;
import dbreflection.tablemanagement.DOField;

/**
 * Created by IntelliJ IDEA.
 * User: [J0k3r]
 * Date: 14.11.2008
 * Time: 21:10:16
 */
@DOTable(table = "object", pk = "id")
public class InventoryObject extends DatabaseObject {
    @DOField(column = "id")
    private Integer id;
    @DOField(column = "organisation_structure_id")
    private Integer organisationStructureId;
    @DOField(column = "description")
    private String description;

    public InventoryObject() {
        this.id = UNASSIGNEDINT;
        this.organisationStructureId = UNASSIGNEDINT;
        this.description = UNASSIGNEDSTRING;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrganisationStructureId() {
        return organisationStructureId;
    }

    public void setOrganisationStructureId(Integer organisationStructureId) {
        this.organisationStructureId = organisationStructureId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
